package com.ruoyi.vehicleDispatch.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 电子围栏数据对象 electronic_fence
 * 
 * @author niuyi
 * @date 2025-08-19
 */
public class ElectronicFence extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 围栏Id */
    private Integer fenceId;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String fenceName;

    /** 围栏类型 */
    @Excel(name = "围栏类型")
    private String fenceType;

    /** 坐标 */
    @Excel(name = "坐标")
    private String coordinates;

    /** 半径 */
    @Excel(name = "半径")
    private BigDecimal radius;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否活动 */
    @Excel(name = "是否活动")
    private Integer isActive;

    public void setFenceId(Integer fenceId) 
    {
        this.fenceId = fenceId;
    }

    public Integer getFenceId() 
    {
        return fenceId;
    }

    public void setFenceName(String fenceName) 
    {
        this.fenceName = fenceName;
    }

    public String getFenceName() 
    {
        return fenceName;
    }

    public void setFenceType(String fenceType) 
    {
        this.fenceType = fenceType;
    }

    public String getFenceType() 
    {
        return fenceType;
    }

    public void setCoordinates(String coordinates) 
    {
        this.coordinates = coordinates;
    }

    public String getCoordinates() 
    {
        return coordinates;
    }

    public void setRadius(BigDecimal radius) 
    {
        this.radius = radius;
    }

    public BigDecimal getRadius() 
    {
        return radius;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setIsActive(Integer isActive) 
    {
        this.isActive = isActive;
    }

    public Integer getIsActive() 
    {
        return isActive;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fenceId", getFenceId())
            .append("fenceName", getFenceName())
            .append("fenceType", getFenceType())
            .append("coordinates", getCoordinates())
            .append("radius", getRadius())
            .append("description", getDescription())
            .append("isActive", getIsActive())
            .toString();
    }
}
